#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H

#include "../json/json.h"
#include <QIntValidator>
#include <QToolButton>
#include <QIcon>
#include <QPalette>
#include "ui_settingsdialog.h"

using namespace Json;

class SettingsDialog : public QDialog, public Ui::SettingsDialog
{
	Q_OBJECT

	public:
		SettingsDialog(QDialog *parent=0);
		void fillForm(Value *settings);
		void accept();
	signals:
		void newSettings(Value settings);
		
};

#endif
